package com.cartoonrabbit.mapper;

import com.cartoonrabbit.pojo.EarlyAction;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author LiuTeng
 * @since 2023-01-17
 */
public interface EarlyActionMapper extends BaseMapper<EarlyAction> {

    /**
     * 更具时间获取当天活动
     * @param date
     * @return
     */
    EarlyAction selectActionByTime(@Param(value = "date") String date);
}
